Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Cherry-picks: Several bug fixes and react HMR #114

Merged
merged 8 commits into from
Sep 18, 2018

Conversation

kristw
Copy link

@kristw kristw commented Sep 18, 2018

Cherry-pick the following commit(s):

SHA Time Log Author
19a3319 Tue Sep 18 10:30:47 2018 -0700 [bugfix] Fix percent metric display and check for string columns in table (apache#5917) (origin/master, origin/HEAD, master) Krist Wongsuphasawat
39ef77a Mon Sep 17 11:05:22 2018 -0700 Remove jquery usage to highlight sql lab menu (apache#5907) Krist Wongsuphasawat
80faa8d Wed Sep 12 17:21:24 2018 -0700 Fix CSS theme flickering on FAB pages (apache#5880) Maxime Beauchemin
6df720d Tue Sep 11 13:33:54 2018 -0700 [bugfix] mapbox pan on filter (apache#5858) Christine Chambers
1f6e8b3 Tue Sep 11 10:35:52 2018 -0700 [dev] fix redux devtools (apache#5855) Chris Williams
ce362f0 Tue Sep 11 08:06:18 2018 -0700 [bugfix] fix rows not showing on welcome page (retry) (apache#5849) Krist Wongsuphasawat
73cfccc Mon Sep 10 23:01:34 2018 -0700 [bugfix] 'No numeric types to aggregate' in NVD3 chart (apache#5853) Maxime Beauchemin
6d57372 Mon Sep 10 10:15:32 2018 -0700 Enable hot module replacement for React via react-hot-loader (apache#5841) Krist Wongsuphasawat

@john-bodley @conglei @graceguo-supercat @kristw @michellethomas @timifasubaa @williaster

kristw and others added 8 commits September 18, 2018 13:54
* Pan mapbox map on query

- Modify the backend to send back the bounds of the points to cluster
- Clean up of mapbox component to derive lat, lon and zoom from the mercator that fitsbounds based on the bounds passed from the backend. This and the computation of clusters are now only done on initial load b/c we are not making queries to the backend on pan/zoom
- A minor clean up of unused props and also making the visual properties panel open by default

* Remove default latitude, longitude and zoom props which are unnecessary for computing the viewport now that it is driven by the bounds from the backend.

* a few small tweaks (rename vars to be sneak case and avoid two extra hash lookups)

(cherry picked from commit 6df720d)
Since the recent PRs around webpack 4 and reloading, FAB pages have been
flickering on load, where a themeless Superset is shown for a fraction
of a second until the bootstrap theme gets loaded up.

This addresses it by moving the theme JS to the head section of the html
page.

(cherry picked from commit 80faa8d)
* Remove jquery hack

* change filter to find

(cherry picked from commit 39ef77a)
…able (apache#5917)

* fix percent metric display

* add empty line

* address string or number check

(cherry picked from commit 19a3319)
@kristw kristw changed the title [WIP] Cherry-pick(s): <description> Cherry-picks: Several bug fixes and react HMR Sep 18, 2018
@codecov-io
Copy link

Codecov Report

Merging #114 into airbnb-master will decrease coverage by 0.11%.
The diff coverage is 14.63%.

Impacted file tree graph

@@               Coverage Diff                @@
##           airbnb-master    #114      +/-   ##
================================================
- Coverage          63.42%   63.3%   -0.12%     
================================================
  Files                357     363       +6     
  Lines              22208   22245      +37     
  Branches            2502    2503       +1     
================================================
- Hits               14085   14082       -3     
- Misses              8111    8151      +40     
  Partials              12      12
Impacted Files Coverage Δ
superset/assets/src/explore/visTypes.jsx 57.14% <ø> (ø) ⬆️
superset/assets/src/utils/common.js 58.33% <ø> (-1.67%) ⬇️
superset/assets/src/welcome/index.jsx 0% <ø> (ø) ⬆️
superset/assets/src/dashboard/index.jsx 0% <0%> (ø) ⬆️
superset/assets/src/addSlice/index.jsx 0% <0%> (ø) ⬆️
superset/assets/src/dashboard/App.jsx 0% <0%> (ø)
superset/assets/src/addSlice/App.jsx 0% <0%> (ø)
superset/assets/src/profile/App.jsx 0% <0%> (ø)
superset/assets/src/SqlLab/App.jsx 0% <0%> (ø)
superset/assets/src/welcome/App.jsx 0% <0%> (-94.45%) ⬇️
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 301f289...248a45d. Read the comment docs.

1 similar comment
@codecov-io
Copy link

Codecov Report

Merging #114 into airbnb-master will decrease coverage by 0.11%.
The diff coverage is 14.63%.

Impacted file tree graph

@@               Coverage Diff                @@
##           airbnb-master    #114      +/-   ##
================================================
- Coverage          63.42%   63.3%   -0.12%     
================================================
  Files                357     363       +6     
  Lines              22208   22245      +37     
  Branches            2502    2503       +1     
================================================
- Hits               14085   14082       -3     
- Misses              8111    8151      +40     
  Partials              12      12
Impacted Files Coverage Δ
superset/assets/src/explore/visTypes.jsx 57.14% <ø> (ø) ⬆️
superset/assets/src/utils/common.js 58.33% <ø> (-1.67%) ⬇️
superset/assets/src/welcome/index.jsx 0% <ø> (ø) ⬆️
superset/assets/src/dashboard/index.jsx 0% <0%> (ø) ⬆️
superset/assets/src/addSlice/index.jsx 0% <0%> (ø) ⬆️
superset/assets/src/dashboard/App.jsx 0% <0%> (ø)
superset/assets/src/addSlice/App.jsx 0% <0%> (ø)
superset/assets/src/profile/App.jsx 0% <0%> (ø)
superset/assets/src/SqlLab/App.jsx 0% <0%> (ø)
superset/assets/src/welcome/App.jsx 0% <0%> (-94.45%) ⬇️
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 301f289...248a45d. Read the comment docs.

@kristw kristw merged commit 901ea8a into airbnb:airbnb-master Sep 18, 2018
@kristw kristw deleted the kristw-cherry-sep18 branch September 18, 2018 21:52
michellethomas pushed a commit that referenced this pull request Dec 1, 2021
* feat: add mergeMargin()

* fix: typings

* refactor: address chris' comments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants